package org.ykh.springcloud.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author ykh
 * @create 2022-01-25 19:48
 */
@Component
@Slf4j
public class PaymentFallbackService /*implements PaymentHystrixService*/{
//    @Override
    public String paymentInfo_OK(Integer id) {
        log.info("服务降级");
        return "服务异常";
    }

//    @Override
    public String paymentInfo_TimeOut(Integer id) {
        log.info("服务降级");
        return "服务异常";
    }
}
